package com.ruoyi.project.erp.saleservices.domain;

import java.util.Date;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 saleservices
 * 
 * @author ruoyi
 * @date 2020-09-08
 */
public class Saleservices extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 装配单表头id */
    @Excel(name = "装配单表头id")
    private Long mid;

    /** 装配单表头单号 */
    @Excel(name = "装配单表头单号")
    private String mcode;

    /** 售后服务日期 */
    @Excel(name = "售后服务日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date ddate;

    /** 分店代码 */
    @Excel(name = "分店代码")
    private String shop;

    /** 分店名称 */
    @Excel(name = "分店名称")
    private String shopname;

    /** 类型（保修，换货） */
    @Excel(name = "类型", readConverterExp = "保=修，换货")
    private String ctype;

    /** 服务人员 */
    @Excel(name = "服务人员")
    private String sericeemp;

    /** 服务内容记录 */
    @Excel(name = "服务内容记录")
    private String sericedesc;

    /** 保存时自动的系统时间 */
    @Excel(name = "保存时自动的系统时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sysdt;

    /** 打单人员 */
    @Excel(name = "打单人员")
    private String emp;

    /** 换货处理人 */
    @Excel(name = "换货处理人")
    private String dealemp;

    /** 换货处理时间 */
    @Excel(name = "换货处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date dealdt;

    /** 备注 */
    @Excel(name = "备注")
    private String smemo;

    /** 状态 */
    @Excel(name = "状态")
    private String st;
    /** 安装门店 */
    @Excel(name = "安装门店")
    private String azshopname;
    /** VIN码 */
    @Excel(name = "VIN码")
    private String vin;
    //装配单单号
    private String code;

    private String pcode;

    private String pname;

    private String pstd;

    private String punit;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMid(Long mid) 
    {
        this.mid = mid;
    }

    public Long getMid() 
    {
        return mid;
    }
    public void setMcode(String mcode) 
    {
        this.mcode = mcode;
    }

    public String getMcode() 
    {
        return mcode;
    }
    public void setDdate(Date ddate) 
    {
        this.ddate = ddate;
    }

    public Date getDdate() 
    {
        return ddate;
    }
    public void setShop(String shop) 
    {
        this.shop = shop;
    }

    public String getShop() 
    {
        return shop;
    }
    public void setShopname(String shopname) 
    {
        this.shopname = shopname;
    }

    public String getShopname() 
    {
        return shopname;
    }
    public void setCtype(String ctype) 
    {
        this.ctype = ctype;
    }

    public String getCtype() 
    {
        return ctype;
    }
    public void setSericeemp(String sericeemp) 
    {
        this.sericeemp = sericeemp;
    }

    public String getSericeemp() 
    {
        return sericeemp;
    }
    public void setSericedesc(String sericedesc) 
    {
        this.sericedesc = sericedesc;
    }

    public String getSericedesc()
    {
        return sericedesc;
    }
    public void setSysdt(Date sysdt) 
    {
        this.sysdt = sysdt;
    }

    public Date getSysdt() 
    {
        return sysdt;
    }
    public void setEmp(String emp) 
    {
        this.emp = emp;
    }

    public String getEmp() 
    {
        return emp;
    }
    public void setDealemp(String dealemp) 
    {
        this.dealemp = dealemp;
    }

    public String getDealemp() 
    {
        return dealemp;
    }
    public void setDealdt(Date dealdt) 
    {
        this.dealdt = dealdt;
    }

    public Date getDealdt() 
    {
        return dealdt;
    }
    public void setSmemo(String smemo) 
    {
        this.smemo = smemo;
    }

    public String getSmemo() 
    {
        return smemo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("mid", getMid())
            .append("mcode", getMcode())
            .append("ddate", getDdate())
            .append("shop", getShop())
            .append("shopname", getShopname())
            .append("ctype", getCtype())
            .append("sericeemp", getSericeemp())
            .append("sericedesc", getSericedesc())
            .append("sysdt", getSysdt())
            .append("emp", getEmp())
            .append("dealemp", getDealemp())
            .append("dealdt", getDealdt())
            .append("smemo", getSmemo())
            .toString();
    }

    public String getSt() {
        return st;
    }

    public void setSt(String st) {
        this.st = st;
    }

    public String getAzshopname() {
        return azshopname;
    }

    public void setAzshopname(String azshopname) {
        this.azshopname = azshopname;
    }

    public String getVin() {
        return vin;
    }

    public void setVin(String vin) {
        this.vin = vin;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getPcode() {
        return pcode;
    }

    public void setPcode(String pcode) {
        this.pcode = pcode;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPstd() {
        return pstd;
    }

    public void setPstd(String pstd) {
        this.pstd = pstd;
    }

    public String getPunit() {
        return punit;
    }

    public void setPunit(String punit) {
        this.punit = punit;
    }
}
